/* Basics & reset */
html, body {
  height: 100%;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: arial, verdana, san-serif;
  font-size: 13px;
}

body {
  width: 100%; /* Needed for FF */
  background: #fff;
}

table {
  border-spacing: 0;
}

ul, ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

h1, h2, h3 {
  margin: 0;
  padding: 0;
  font-weight: normal;
}

h1 {
  font-size: 1.2em;
}

h2, h3 {
  font-size: 1em;
}

input {
  border: 1px solid #ccc;
  border-top-color: #aaa;
  padding: 2px;
  margin: 0;
}

a,
a:link,
a:hover,
a:active,
a:visited {
  text-decoration: none;
  color: #000;
}

.hidden {
  display: none !important;
}

.transparent {
  opacity: 0;
}

/* Main App Structure */

#gaia-bar {
  border-bottom: 1px solid #c9d7f1;
  padding: 4px 8px 5px 0;
  text-align: right;
}

#gaia-bar .user-name {
  font-weight: bold;
}

#gaia-bar a.link {
  text-decoration: underline;
  color: #20c;
}

#gaia-bar .divider {
  padding: 0 .35em;
}

#main-ui {
}

#app {
  height: 100%;
}

#nav-left {
  width: 200px;
  background: #fff;
  -moz-border-bottom-left-radius: 8px;
  -webkit-border-bottom-left-radius: 8px;
  overflow-y: auto;
	display: none;
}

#nav-top {
  background-color: #bcf;
}

.places-on,
.places-off {
  background: #8ae;
  position: relative;
}


.places-on {
  width: 204px;
  padding: 12px 7px;
  margin-right: 7px;
  padding: 7px 0;
  display: none;
}

.places-on h2 {
  color: #fff;
  font-weight: bold;
  padding: 5px 7px;
}

.places-toggle-button {
  cursor: pointer;
  background: #8ae;
  padding: 5px 3px;
  position: absolute;
  top: 7px;
  right: 0;
  -moz-border-radius: 2px 0 0 2px;
  -webkit-border-radius: 2px 0 0 2px;
}

.places-toggle-button img {
  width: 10px;
  height: 13px;
  background: url(icons_9.png) no-repeat -419px 0;
}

.places-off {
  -moz-border-radius: 0 2px 2px 0;
  -webkit-border-radius: 0 2px 2px 0;
  width: 16px;
  margin: 7px 0;
  cursor: pointer;
  background: #8ae;
  margin-right: 5px;
  padding: 5px 0;
  position: relative;
}

.places-off img {
  width: 8px;
  height: 16px;
  position: absolute;
  top: 5px;
  left: 3px;
  background: url(icons_9.png) no-repeat -387px center;
}

.butterbar {
  padding: 10px 0;
}

.butterbar-msg {
  font-weight: bold;
  color: #ff0000;
  padding-right: 10px;
}

.breadcrumb,
.folder-actions {
  margin: 7px 0;
}

.breadcrumb li,
.folder-actions li {
  position: relative;
  display: inline-block;
  padding: 5px;
  padding-left: 23px;
  font-weight: bold;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  -moz-user-select: none;
  -webkit-user-select: none;
  cursor: pointer;
  background-color: #e3e9ff;
  background-repeat: no-repeat;
  background-position: 3px center;
  margin-right: 5px;
}

.breadcrumb li:hover,
.folder-actions li:hover {
  background-color: #e3e9ff;
  -moz-box-shadow: 1px 1px 1px #68e;
  -webkit-box-shadow: 1px 1px 1px #68e;
}

.folder-actions li img {
  position: absolute;
  top: 0;
  left: 0;
}

.breadcrumb .selected {
  font-weight: bold;
  color: #fff;
  background-color: #68e;
}

.breadcrumb .selected a {
	color: #fff;
}

.breadcrumb .selected:hover {
  background-color: #68e;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.folder-actions li {
  font-weight: normal;
}

.folder-actions li.divider {
  height: 1em;
  width: 0px;
  top: 5px;
  padding: 2px 0;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  border-right: 1px solid #eee;
  border-left: 1px solid #68e;
  cursor: default;
}

#main-content > div {
  overflow: auto;
}

.main-divider {
  width: 4px;
  background: #8ae;
	display: none;
}


/* Left Hand Nav */
.nav-module {
  border-top: 1px solid #fff;
}

.nav-module-label {
  -moz-user-select: none;
  -webkit-user-select: none;
  background: -moz-linear-gradient(-90deg, #f9f9f9, #f9f9f9 45%, #eee 45%,
      #eee 55%, #eaeaea 55%, #eaeaea);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%,
      from(#f9f9f9), color-stop(0.45, #f9f9f9), color-stop(0.45, #eee),
      color-stop(0.55, #eee), color-stop(0.55, #eaeaea), to(#eaeaea));
  border-bottom: 1px solid #bbb;
  color: #444;
  text-shadow: 1px 1px 1px #fff;
  cursor: default;
  line-height: 1.5em;
  padding: 1px 4px 1px 7px;
}

.nav-module ul {
  margin: 0;
  color: #333;
}

.nav-module li {
  padding: 3px 0 3px 1em;
  -moz-user-select: none;
  -webkit-user-select: none;
  cursor: default;
  position: relative;
}

.nav-module li.selected {
  font-weight: bold;
  background: #68e;
  color: #fff;
}

.nav-module li:hover {
  background-color: #e3e9ff;
}

.nav-module li.selected:hover {
  background: #68e;
}

.nav-module li .menu {
  position: absolute;
  right: 0;
  top: 2px;
}

.nav-module li:hover .menu {
  visibility: visible;
}


.nav-module li.selected h2 {
  font-weight: bold;
}

.nav-module .places-list h3 {
  padding-left: 20px;
  background-repeat: no-repeat;
  background-position: left center;
}

.nav-module .add-place-target {
  border: 1px dashed #ddd;
  background: #eee;
  -moz-border-radius: .5em;
  -webkit-border-radius: .5em;
  padding: 1em;
  margin: 7px 7px 0;
  text-align: center;
  color: #666;
  text-shadow: 1px 1px 1px #fff;
  line-height: 1.3em;
  -moz-user-select: none;
  -webkit-user-select: none;
  cursor: default;
}

.menu {
  visibility: hidden;
  cursor: pointer;
  width: 17px;
  height: 16px;
  margin-right: 5px;
}

/* File List */
.folder-view {
  /* Necessary for drag and drop events to work properly for elements that have
   * display: -webkit-box;
   */
  border: 1px solid #fff;
}

table.file-list {
  width: 100%;
}

.file-list thead td {
  border-bottom: 1px solid #bbb;
  border-left: 1px solid #bbb;
  line-height: 1.5em;
  padding: 1px 4px;
  background: -moz-linear-gradient(-90deg, #f9f9f9, #f9f9f9 45%, #eee 45%,
      #eee 55%, #eaeaea 55%, #eaeaea);
  background: -webkit-gradient(linear, 0% 0%, 0% 100%,
      from(#f9f9f9), color-stop(0.45, #f9f9f9), color-stop(0.45, #eee),
      color-stop(0.55, #eee), color-stop(0.55, #eaeaea), to(#eaeaea));
  color: #444;
  text-shadow: 1px 1px 1px #fff;
  text-align: left;
}

.file-list thead td.file-menu,
.file-list thead td.file-delete {
  border-left: none;
}

.file-container td,
.folder-container td {
  padding: 2px 4px;
}

.file-list thead td:first-child {
  border-left: none;
}

.file-list .footer-notice {
  padding: .5em;
  padding-left: 28px;
  background: #fff7d7;
  border-top: 1px solid #ddd;
}

/* Alternate row colors */
tr.file-container:nth-child(even) {
  background: #f0f0f0;
}

tr.file-container.selected {
  background-color: #fff7d7;
}

tr.file-container:hover .menu {
  visibility: visible;
}

td.file-selected {
  width: 20px;
}

td.file-selected input {
  margin-left: 2px;
}

td.file-size {
  width: 120px;
  text-align: right;
}

td.file-modified {
  width: 120px;
}

td.file-name {
  cursor: pointer;
  background-repeat: no-repeat;
  background-position: left center;
}

td.file-name > span,
td.file-name > a {
  padding-left: 16px;
}

td.file-name > input {
  margin-left: 16px;
}

td.file-name > a {
  display: block;
}

td.file-name .link {
  color: #00c;
  text-decoration: underline;
}

td.file-menu,
td.file-delete {
  width: 16px;
}

td.file-share {
  width: 110px;
}

td.file-share .share-link {
  text-decoration: underline;
  color: #20c;
  padding-left: 3px;
  vertical-align: top;
}

td.file-share .check-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  cursor: pointer;
}

.check-on {
  background: url(check_icon_on.png) no-repeat center center;
}

.check-off {
  background: url(check_icon_off.png) no-repeat center center;
}

td.folder-empty-notice {
  padding: 1em;
  text-align: center;
  color: #666;
}

.file-icon-photo {
  background-image: url(icon_photo.png);
}

.home-icon {
  background-image: url(home_icon.gif);
}

.bucket-icon {
  background-image: url(bucket_icon_14.png);
}

.folder-icon {
  background-image: url(icon_folder.gif);
}

.upload-icon {
  background: url(icons_9.png) no-repeat -16px center;
  width: 16px;
  height: 16px;
}

.folder-actions li.refresh-link {
  padding: 5px 0;
  background: transparent;
  color: #00c;
}

.folder-actions li.refresh-link:hover {
  background-color: transparent;
  text-decoration: underline;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.folder-actions li.project-selector {
  display: inline-block;
  padding: 1px 0px;
  background-color: transparent;
  cursor: default;
}

.folder-actions li.project-selector select {
  margin: 0;
  padding: 0;
}

.folder-actions li.project-selector:hover {
  background-color: transparent;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.folder-actions li.upload-files .upload-icon {
  top: 5px;
  left: 5px;
}

.folder-actions li.delete-files .trash-icon {
  top: 5px;
  left: 5px;
  top: 5px;
  left: 5px;
}

.upload-files-input-container {
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
  width: 100%;
  height: 26px;
}

.folder-actions li.delete-files {
}

.folder-actions li.disabled {
  opacity: .5;
  cursor: default;
}

.folder-actions li.disabled:hover {
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}

.file-starred {
  width: 20px;
}

.star-icon-off {
  height: 28px;
  width: 16px;
  background: url(icons_9.png) no-repeat -256px center;
}

.add-to-places {
    width: 75px;
}

.star-icon-on,.rename-icon,.copy-icon,.move-icon {
  height: 23px;
  width: 16px;
  margin-left: 4px;
  background: url(icons_9.png) no-repeat -240px center;
}

.rename-icon {
	background: url(icons_9.png) no-repeat -145px center;
}

.copy-icon {
	background: url(icons_9.png) no-repeat -129px center;
}
.move-icon {
	background: url(icons_9.png) no-repeat -160px center;
}

.trash-icon {
  height: 16px;
  width: 16px;
  background: url(icons_9.png) no-repeat -96px center;
}

.delete-icon-light {
  height: 16px;
  width: 16px;
  background: url(x_icon_light.png) no-repeat center center;
}

.delete-icon-dark {
  height: 16px;
  width: 16px;
  background: url(x_icon_dark.png) no-repeat center center;
}

.loading-icon {
  height: 20px;
  width: 16px;
  background: url(loading.gif) no-repeat center;
}

.loading-icon2 {
	padding-right: 20px;
	background: url(loading.gif) no-repeat right center;
}

.error-message {
  padding-left: 20px;
  background-repeat: no-repeat;
  background-position: left center;
  color: #a00000;
}

/* Uploads */

.uploader {
  border-bottom: 1px solid #ddd;
  padding: 5px 5px 5px 25px;
  background: #e3e9ff url(loading.gif) no-repeat 5px 5px;
  color: #666;
}

.uploader.uploader-prompt {
  color: #000;
  background-image: url(alert_icon.png);
}

.uploader .link {
  padding-left: .5em;
}

.uploader > div {
  vertical-align: bottom;
}

.uploader .progress-bar {
  position: relative;
  top: -2px;
  left: 2px;
  margin: 0 .5em;
}

.progress-bar {
  width: 120px;
  display: inline-block;
  background: #fff;
  border: 1px solid #ccc;
  padding: 1px;
}

.progress-bar {
  border-radius: 2px;
}

.progress-bar-inner {
  height: 8px;
  background: #bcf;
}

.uploader .upload-file-name {
  margin-left: .5em;
  display: inline-block;
  width: 300px;
  text-overflow: ellipsis;
  color: #68E;
  overflow: hidden;
}

.uploader-prompt .upload-file-name {
  display: inline;
  margin: 0 .5em;
}

.uploader-prompt .apply-check {
  margin: 0 2px 0 .5em;
}

.link {
  color: #20c;
  color: #00c;
  cursor: pointer;
}

.link:hover,
.link:active {
  text-decoration: underline !important;
}

.uploader .btn-cancel-all {
  padding: 0 .5em;
}

/* Logo */
#logo {
  margin: 13px 0 5px 13px;
  font-size: 1.5em;
}

#logo img {
  vertical-align: middle;
  margin-right: 7px;
  border: none;
}

#logo span {
  position: relative;
  top: 1px;
}

/* Box Model */
.hbox,
.vbox  {
  display: -moz-box;
  display: -webkit-box;
  -moz-box-align: stretch;
  -webkit-box-align: stretch;
}

.vbox > *,
.hbox > * {
  -moz-box-flex: 1;
  -webkit-box-flex: 1;
}

.vbox {
  -moz-box-orient: vertical;
  -webkit-box-orient: vertical;
}

.hbox {
  -moz-box-orient: horizontal;
  -webkit-box-orient: horizontal;
}

.noflex {
  -moz-box-flex: 0;
  -webkit-box-flex: 0;
}

.center {
  -moz-box-pack: center;
  -webkit-box-pack: center;
}

/*try*/
.try, .note {
    position: absolute;
    top: 10px;
    right: 10px;
}

.try * {
    margin: 2px;
    border-radius: 3px;
    -moz-border-radius: 3px;
}

.try .try-text {
    font-size: 1.2em;
}
.try .id {
    color: green;
}

.note {
    left: 500px;
}

.note a {
    border-radius: 3px;
    -moz-border-radius: 3px;
    padding: 5px;
    color: #68E;
}

.note a:hover {
    color: #fff;
    background-color: #68e;
}

.error {
	position: fixed;
    color: red;
	background-color:  #f0f0f0;
	opacity: 0.9;
    width: 800px;
	border-radius: 10px;
    -moz-border-radius: 10px;
	top: 2px;
	left: 2px;
	z-index: 8;
}

table.file-list {
    display: none;
}

.ajax-load {
    display: none;
    /*height: 15px;
    width: 210px;
    background: transparent url(ajax-loading.gif) no-repeat center;*/
    position: fixed;
    z-index: 99;
    top: 48%;
    left: 48%;
}

.load-more {
	position: fixed;
	bottom: 5px;
	right: 15px;
	color: #fff;
    background-color: #68e;
	cursor: pointer;
	padding: 3px;
	border-radius: 3px;
    -moz-border-radius: 3px;
	display: none;
}

td.file-start {
	color: green;
	content: "☆★";
	float: right;
	font-size: 1.3em;
    top : 0;
}

.search-box {
    height: 14px;
	/*width: 40px;*/
}

thead .file-name span {
	padding: 5px;
}

.action-bg, .action-fg {
	position: fixed;
	top: 2px;
	right: 2px;
}

.action-bg {
	display: none;
	width: 590px;
	opacity: 0.95;
	background-color: #f0f0f0;
	border-radius: 10px;
	-moz-border-radius: 10px;
	border: 1px solid #CCCCCC;
	height: 180px;
	z-index: 1;
}

.action-fg {
	width: 570px;
	margin: 10px;
	z-index: 2;
	opacity: 1;
}

.action-bg > input {
	position: relative;
	top: 85%;
	left: 40%;
}

.action-fg .target {
	height: 150px;
	width: 150px;
	position: absolute;
	
	overflow: auto;
}

.action-fg > div {
	display: none;
	position: relative;
	top:  20px;
	left: 200px;
}

.action-fg > div input {
	display: block;
}

.action-fg > div.rename input[type=radio] {
	display: inline-block;
}

input {
	min-width: 50px;
	outline:none;
	border-radius: 3px;
	background: -webkit-gradient(linear, left top, left bottom, from(#FFFFFF), to(#EEEEEE));
}

input[type*=b]:hover{
	background: -webkit-gradient(linear, left top, left bottom, from(#EEEEEE), to(#FFFFFF));
}

input[type*=b]:active {
	border: 1px solid #A9A9A9;
	background: -webkit-gradient(linear, left top, left bottom, from(#CCCCCC), to(#FFFFFF));
}
